Skip to content

fix: compatible issue on windows#32

Merged
sbillinge merged 1 commit intoPDF-bl:mainfrom
ycexiao:windows-compatibility
Feb 13, 2026
Merged

fix: compatible issue on windows#32
sbillinge merged 1 commit intoPDF-bl:mainfrom
ycexiao:windows-compatibility

Conversation

@ycexiao
Copy link
Copy Markdown
Contributor

@ycexiao ycexiao commented Feb 13, 2026

What problem does this PR address?

Closes #33

image

This is because matplotlib instead of matplotlib-base is used.

Also, errors were found when runing example scripts in windows. It turns out the main script must run under

if __name__ == "__main__":

for multiprocessing to work normaly in windows.

What should the reviewer(s) do?

Please check the modifications.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ycexiao ycexiao marked this pull request as ready for review February 13, 2026 00:54
@ycexiao
Copy link
Copy Markdown
Contributor Author

ycexiao commented Feb 13, 2026

@sbillinge, it's ready for review.

Copy link
Copy Markdown
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see comment.

I will merge this so you can keep working more easily, but please can you make the fix I requested?

# ),
# )
sts.run(mode="stream")
if __name__ == "__main__":
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we normally define a main and then we just run

if __name__ == "__main__":
    main()

This is cleaner than what is done here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is completed via #34

@sbillinge sbillinge merged commit 67931a2 into PDF-bl:main Feb 13, 2026
6 checks passed
@ycexiao ycexiao deleted the windows-compatibility branch February 18, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: matrix-coverage was not successful on windows

2 participants